package com.run.merchant.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.run.common.annotation.Excel;
import com.run.common.core.domain.BaseEntity;

/**
 * 代取订单信息对象 order_info
 * 
 * @author run
 * @date 2025-05-12
 */
public class OrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNumber;

    /** 发布学生 */
    @Excel(name = "发布学生")
    private String studentName;

    /** 代取物品类型 */
    @Excel(name = "代取物品类型")
    private String itemType;

    /** 总金额(元) */
    @Excel(name = "总金额(元)")
    private BigDecimal total;

    /** 小费(元) */
    @Excel(name = "小费(元)")
    private BigDecimal tip;

    /** 代取订单简介 */
    @Excel(name = "代取订单简介")
    private String description;

    /** 取件地址 */
    @Excel(name = "取件地址")
    private String pickupAddress;

    /** 收件地址 */
    @Excel(name = "收件地址")
    private String deliveryAddress;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 取件码截图 */
    @Excel(name = "取件码截图")
    private String img;

    /** 代取状态 */
    @Excel(name = "代取状态")
    private String orderStatus;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setItemType(String itemType) 
    {
        this.itemType = itemType;
    }

    public String getItemType() 
    {
        return itemType;
    }

    public void setTotal(BigDecimal total) 
    {
        this.total = total;
    }

    public BigDecimal getTotal() 
    {
        return total;
    }

    public void setTip(BigDecimal tip) 
    {
        this.tip = tip;
    }

    public BigDecimal getTip() 
    {
        return tip;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setPickupAddress(String pickupAddress) 
    {
        this.pickupAddress = pickupAddress;
    }

    public String getPickupAddress() 
    {
        return pickupAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) 
    {
        this.deliveryAddress = deliveryAddress;
    }

    public String getDeliveryAddress() 
    {
        return deliveryAddress;
    }

    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderNumber", getOrderNumber())
            .append("studentName", getStudentName())
            .append("itemType", getItemType())
            .append("total", getTotal())
            .append("tip", getTip())
            .append("description", getDescription())
            .append("pickupAddress", getPickupAddress())
            .append("deliveryAddress", getDeliveryAddress())
            .append("nickname", getNickname())
            .append("phone", getPhone())
            .append("img", getImg())
            .append("orderStatus", getOrderStatus())
            .toString();
    }
}
